## Script (Python) "mxmContacts_group_codings"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=
##title=Codecs for exporting csv data
##

# Most of these ar commented out, so that I avoid translating them :-s
# if you need them, just customize this, and uncomment the coding.

site_default = context.portal_properties.site_properties.default_charset or 'utf-8'

codings = (
    (site_default, 'Default'),
#    ('cp1256', 'Arabic'),
#    ('cp864', 'Arabic'),
#    ('iso8859_6', 'Arabic'),
#    ('cp1257', 'Baltic languages'),
#    ('cp775', 'Baltic languages'),
#    ('iso8859_13', 'Baltic languages'),
#    ('iso8859_4', 'Baltic languagues'),
#    ('cp1251', 'Bulgarian, Byelorussian, Macedonian, Russian, Serbian'),
#    ('cp855', 'Bulgarian, Byelorussian, Macedonian, Russian, Serbian'),
#    ('iso8859_5', 'Bulgarian, Byelorussian, Macedonian, Russian, Serbian'),
#    ('mac_cyrillic', 'Bulgarian, Byelorussian, Macedonian, Russian, Serbian'),
#    ('cp863', 'Canadian'),
#    ('iso8859_14', 'Celtic languages'),
#    ('cp1250', 'Central and Eastern Europe'),
#    ('cp852', 'Central and Eastern Europe'),
#    ('iso8859_2', 'Central and Eastern Europe'),
#    ('mac_latin2', 'Central and Eastern Europe'),
    ('cp865', 'Danish, Norwegian'),
    ('ascii', 'English'),
#    ('cp037', 'English'),
#    ('cp437', 'English'),
#    ('iso8859_3', 'Esperanto, Maltese'),
#    ('cp1253', 'Greek'),
#    ('cp737', 'Greek'),
#    ('cp869', 'Greek'),
#    ('cp875', 'Greek'),
#    ('iso8859_7', 'Greek'),
#    ('mac_greek', 'Greek'),
#    ('cp1255', 'Hebrew'),
#    ('cp424', 'Hebrew'),
#    ('cp856', 'Hebrew'),
#    ('cp862', 'Hebrew'),
#    ('iso8859_8', 'Hebrew'),
#    ('cp861', 'Icelandic'),
#    ('mac_iceland', 'Icelandic'),
#    ('cp932', 'Japanese'),
#    ('euc_jis_2004', 'Japanese'),
#    ('euc_jisx0213', 'Japanese'),
#    ('euc_jp', 'Japanese'),
#    ('iso2022_jp', 'Japanese'),
#    ('iso2022_jp_1', 'Japanese'),
#    ('iso2022_jp_2004', 'Japanese'),
#    ('iso2022_jp_3', 'Japanese'),
#    ('iso2022_jp_ext', 'Japanese'),
#    ('shift_jis', 'Japanese'),
#    ('shift_jis_2004', 'Japanese'),
#    ('shift_jisx0213', 'Japanese'),
#    ('iso2022_jp_2', 'Japanese, Korean, Simplified Chinese, Western Europe, Greek'),
#    ('ptcp154', 'Kazakh'),
#    ('cp949', 'Korean'),
#    ('euc_kr', 'Korean'),
#    ('iso2022_kr', 'Korean'),
#    ('johab', 'Korean'),
#    ('iso8859_10', 'Nordic languages'),
#    ('cp860', 'Portuguese'),
#    ('cp866', 'Russian'),
#    ('koi8_r', 'Russian'),
#    ('gb2312', 'Simplified Chinese'),
#    ('hz', 'Simplified Chinese'),
#    ('cp874', 'Thai'),
#    ('big5', 'Traditional Chinese'),
#    ('big5hkscs', 'Traditional Chinese'),
#    ('cp950', 'Traditional Chinese'),
#    ('cp1026', 'Turkish'),
#    ('cp1254', 'Turkish'),
#    ('cp857', 'Turkish'),
#    ('iso8859_9', 'Turkish'),
#    ('mac_turkish', 'Turkish'),
#    ('koi8_u', 'Ukrainian'),
#    ('gb18030', 'Unified Chinese'),
#    ('gbk', 'Unified Chinese'),
#    ('cp1006', 'Urdu'),
#    ('cp1258', 'Vietnamese'),
    ('latin_1', 'West Europe'),
#    ('cp1140', 'Western Europe'),
#    ('cp1252', 'Western Europe'),
#    ('cp500', 'Western Europe'),
#    ('cp850', 'Western Europe'),
#    ('iso8859_15', 'Western Europe'),
#    ('mac_roman', 'Western Europe'),
#    ('utf_16', 'all languages'),
#    ('utf_7', 'all languages'),
    ('utf_8', 'all languages'),
#    ('utf_16_be', 'all languages (BMP only)'),
#    ('utf_16_le', 'all languages (BMP only)'),
)


return codings